<?php exit?>
<!--{include file="header.php"}-->
<div class="layout-box">
	<div class='layout-title'>内容模块设置</div>
	<div class='layout-body'>
	<div class="blank"></div>
	<form action="?action=content&do=config_update" method="post" enctype="multipart/form-data">

	<fieldset>
	<legend>开关控制</legend>
	<table cellspacing="10">
	<tr>
	<td width="120">评论审核状态:</td>
	<td>
	<label><input type="checkbox" name="content_comment_moderation" size="15" value="1" {if $config.content_comment_moderation==1}checked{/if}/> 启用</lable>
	</td>
	</tr>
	<tr>
	<td width="120">投稿发布状态:</td>
	<td>
	<label><input type="checkbox" name="content_draft_status" size="15" value="1" {if $config.content_draft_status==1}checked{/if}/> 启用</lable>
	</td>
	</tr>

	</table>
	</fieldset>

	<fieldset>
	<legend>前台设置</legend>
	<table cellspacing="10">
	<tr>
<td width="120">详细页评论显示:</td>
<td><input x-webkit-speech class="input" type="number" name="content_front_comment_list_size" size="15" value="{$config.content_front_comment_list_size}"/></td>
</tr>
<tr>
<td>搜索结果显示:</td>
<td><input x-webkit-speech class="input" type="number" name="content_front_search_size" size="15" value="{$config.content_front_search_size}"/></td>
</tr>
	</table>
	</fieldset>

	<fieldset>
	<legend>后台设置</legend>
	<table cellspacing="10">
	<tr>
	<td width="120">后台评论列表条数:</td>
	<td><input x-webkit-speech class="input" type="number" name="content_admin_comment_list_size" size="15" value="{$config.content_admin_comment_list_size}"/></td>
	</tr>
	<tr>
	<td width="120">后台文章列表显示:</td>
	<td><input x-webkit-speech class="input" type="number" name="content_admin_article_list_size" size="15" value="{$config.content_admin_article_list_size}"/></td>
	</tr>
	<tr>
	<td>后台投稿列表条数:</td>
	<td><input x-webkit-speech class="input" type="number" name="content_admin_draft_list_size" size="15" value="{$config.content_admin_draft_list_size|escape:html}"/></td>
	</tr>
	</table>
	</fieldset>
	<input type="submit" value=" 更新设置 " class="button" style="margin-left:170px;"/>
		</form>
	</div>
</div>